//
//  CoreDataBookProtocol.h
//  CoreDataDemo
//
//  Created by liuxiang on 2018/1/6.
//  Copyright © 2018年 liuxiang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@class BcBook;

@protocol CoreDataBookProtocol <NSObject>

- (NSArray<NSManagedObject *> *) queryEntityLimit:(NSUInteger)limitCount;

- (BOOL) deleteObjects:(NSArray<NSManagedObject *> *)objs;

- (BOOL) insterObjects:(NSArray<NSManagedObject *> *)objs;

- (BOOL) updateObjects;

@end
